#ifndef _SWEPTAABB_
#define _SWEPTAABB_
#include "Box.h"

class SweptAABB
{
public:
	Box b1;
	Box b2;

public:
	SweptAABB(Box b1, Box b2);
	bool AABBCheck(Box b1, Box b2);
	bool AABB(Box b1, Box b2, float& moveX, float& moveY);
	Box GetSweptBroadphaseBox(Box b);
	float Collision(Box b1, Box b2, float *normalx, float *normaly, float deltatime);
	

};

#endif